
ps -ef |grep blog-1.0.0-SNAPSHOT.war |awk '{print $2}'|xargs kill -9
cd /home/blog
mkdir ./tmp
mkdir ./logs
nohup java -Djava.io.tmpdir=./tmp -Ddruid.logType=slf4j -Dloader.path=.,lib -jar blog-0.0.1-SNAPSHOT.war >> ./tmp/blog.log 2>&1 &
